package com.itc.dispatch.domain.dto;

import com.itc.dispatch.domain.DisFlightSearchConfig;
import com.itc.dispatch.domain.DisFlightTableConfig;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DisFlightSearchConfigDto  implements Serializable {

    @ApiModelProperty("开始时间/不传")
    private LocalDateTime startDate;

    @ApiModelProperty("选择天数")
    private LocalDate chooseDate;

    @ApiModelProperty("结束时间/不传")
    private LocalDateTime endDate;

    @ApiModelProperty(value = "筛选框内容值")
    private String fieldValue;

    /**
     * 字段名
     */
    @ApiModelProperty(value = "字段名")
    private String fieldName;

    /**
     * 字段名
     */
    @ApiModelProperty(value = "字段名")
    private String fieldUnderName;

    /**
     * 条件类型（1：文本，2：下拉选，3：日期范围）
     */
    @ApiModelProperty(value = "条件类型（1：文本，2：下拉选，3：日期范围）")
    private Integer searchType;

}
